<template>
	<view class="notice  hv100 clearfix">
		<cu-custom bgColor="bg-white" isBack>
			<block slot="content">{{i18n.title}}</block>
		</cu-custom>
		<view class="padding">
			<view class=" f17 text-black">{{ title }}</view>
			<view class="flex align-center text-info text-sm margin-top-sm f13">{{ time }}</view>
			<!-- <view class="mt10"><parse :content="content" :imageProp="{ mode: 'widthFix', lazyLoad: true, domain: baseURL.domain }" /></view> -->
			<view class="mt30 text-black"><jyf-parser :html="content" :domain="baseURL.http+baseURL.domain" /></view>
		</view>
	</view>
</template>

<script>
import { mapState, mapActions } from 'vuex'
export default {
	data() {
		return {
			title: '',
			time: '',
			content: '',
			navbarColor: true,
		}
	},
	onLoad(e) {
		this.getData()
	},
	methods: {
		async getData() {
			let {
				data: { title, desc, addTime }
			} = await this.$http.post('user.infomation', { ggId: this.query.id })
			this.title = title
			this.content = desc
			this.time = addTime
		}
	}
}
</script>

<style lang="less"></style>
